package com.medishare.activity;

import com.medishare.R;
import com.medishare.fragment.FragmentBookDoctor;
import com.medishare.fragment.FragmentCallCenter;
import com.medishare.fragment.FragmentCommunityActivity;
import com.medishare.fragment.FragmentMain;
import com.medishare.fragment.FragmentMediReminder;

import android.app.Activity;
import android.app.FragmentTransaction;
import android.os.Bundle;
import android.view.Window;
import android.view.WindowManager;

public class ActivityCommunityActivity extends Activity{

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		 requestWindowFeature(Window.FEATURE_NO_TITLE);  
	        getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,   
	                WindowManager.LayoutParams.FLAG_FULLSCREEN);
	     setContentView(R.layout.main);
	     if(savedInstanceState == null){
	    	FragmentCommunityActivity f = new FragmentCommunityActivity();
	 		FragmentTransaction ft = getFragmentManager().beginTransaction();
	 		ft.add(R.id.framelatout_main, f);
	 		ft.commit();
	 	 }
	}
       
}
